package com.wx.util;

import com.wx.common.WxConfig;

import me.chanjar.weixin.mp.api.WxMpInMemoryConfigStorage;

public class WxMpConfigStorageSimple extends WxMpInMemoryConfigStorage {

	public WxMpConfigStorageSimple(WxConfig wxConfig) {
		super();
		this.setAppId(wxConfig.getStr("appid"));
		this.setSecret(wxConfig.getStr("appsecret"));
		this.setToken(wxConfig.getStr("token"));
	}
	
	public WxMpConfigStorageSimple(boolean test){
		super();
		this.setAppId("wxc6ae1da705720ac7");
		this.setSecret("a47f3fb9e8c1188bd44d1d5cc29b16fd");
		this.setToken("guan");
	}
	
}
